package com.jxc.view;

import javax.swing.JFrame;
import javax.swing.JInternalFrame;

public class TestFrame extends JFrame {
	public TestFrame() {
		this.setBounds(200, 200, 200, 200);
		this.setVisible(true);
	}
	public static void main(String[] args) {
		A a = new A();
		new TestFrame().getContentPane().add(a);
		a.setVisible(true);
	}
}

class A extends JInternalFrame {
	public A() {
		super("test", true, true, true, true);
		this.setBounds(100, 100, 100, 100);
	}
}